package com.soft.service;

import java.util.List;

import com.soft.model.City;

public interface ICityService extends IBaseService<City> {
	/**
	 * ??????
	 * @param searchText ??????????
	 * @param beginTime	??????
	 * @param endTime ???????
	 * @param pageSize	???????????
	 * @param currPage	??????
	 * @return ???????
	 */
	public List<City> find(String searchText, String beginTime, String endTime, int pageSize, String currPage);
	
	/**
	 * ????????
	 * @param searchText ?????????? 
	 * @param beginTime ??????
	 * @param endTime ???????
	 * @return ?????
	 */
	public int getCount(String searchText, String beginTime, String endTime);
	
	/**
	 * ????????
	 * @param searchText ??????????
	 * @param beginTime ??????
	 * @param endTime ???????
	 * @param pageSize ???????????
	 * @return ?????
	 */
	public int getPageCount(String searchText, String beginTime, String endTime, int pageSize);
}
